Repository navigation
dispatch_batch: normalize the count==1 single-claim response (#8217) - #8274
Conversation
Live acceptance found it: --count 1 IS the single claim, and the client answers with the bare row (or {task: null} when nothing is claimable), not the batch {tasks: [...]} body. claim_batch now normalizes both shapes. Regression test covers the bare-row response.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 27 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Follow-up to #8244, found by the #8217 live acceptance: dispatch_batch --count 1 failed in its claim phase because count==1 IS the single claim (#8217 design) and the client answers a single claim with the bare row (or {"task": null} when nothing is claimable), not the batch {"tasks": [...]} body. claim_batch now normalizes both shapes; regression test covers the bare-row response. Claimant dispatch suite: 10 tests green.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.